package org.ch00.test03.entity;

/**
 * @author CSY
 * @date 2025 - 03 - 03
 */
public class Rabbit extends Animal {

    public Rabbit() {}

    public Rabbit(String name,int age) {
        super(name, age);
    }

    public void eat() {
        System.out.println("吃草...");
    }

    public void eat(String name){
        System.out.println(name + "在吃草...");
        super.eat();
    }

}
